from django.conf.urls.defaults import *
from . import views

urlpatterns = patterns('',
    url(r'^$', views.list_all, name="list_all"),
	url(r'^add_edit/$', views.add_edit, name="add_edit"),
	url(r'^context/(?P<context>\w+)/$', views.context, name="context"),
	url(r'^context/$', views.context, name="context_empty"),
	url(r'^project/(?P<project>\w+)/$', views.project, name="project"),
	url(r'^project/$', views.project, name="project_empty"),
	url(r'^file/$', views.text_file, name="text_file"),
	url(r'^mark/(?P<item_num>\d+)/(?P<check_hash>\D*\d+)/$', views.mark_completed, name="mark"),
	
	# User Details
	url(r'^edit_user/$', views.edit_user_details, name="user_details"),
	
	#debug
	url(r'^mail/$', views.web_check_mail, name="check_mail"),

)